package com.myk.game.gobangchess.ai.shock;

public class main5 {
    public static void main(String[] args) {
        int[][] board = {
            {0, 0, 0, 0, 0, 0, 0, 0},
            {0, 1, 0, 0, 1, 1, 0, 0},
            {0, 0, 0, 1, 0, 1, 0, 0},
            {0, 0, 0, -1, 0, 0, 0, 0},
            {0, 0, 0, 0, 0, 0, 0, 0},
            {1, 0, 1, 0, -1, 0, -1, 0},
            {0, 0, 0, 0, 0, 0, 0, 0},
            {0, 0, 1, 0, 0, 0, 0, 0}
        };
        int playerturn = 1;

        int[] result2 = Kill_judging_deep2.kill_judging_deep2(board,playerturn);
        System.out.println(result2[0]);
        System.out.println(result2[1]);
        System.out.println(result2[2]);
        System.out.println(result2[3]);
        int[] result3 = Kill_judging_deep3.kill_judging_deep3(board,playerturn);
        System.out.println(result3[0]);
        System.out.println(result3[1]);
        System.out.println(result3[2]);
        System.out.println(result3[3]);

        long startTime = System.currentTimeMillis();
        int[] result5 = Kill_judging_deep5.kill_judging_deep5(board,playerturn);
        System.out.println(result5[0]);
        System.out.println(result5[1]);
        System.out.println(result5[2]);
        System.out.println(result5[3]);


        long endTime = System.currentTimeMillis();
        long elapsedTime = endTime - startTime;
        System.out.println("Elapsed Time in milliseconds: " + elapsedTime);

        int result6 = Score_weighting.score_weighting(board,playerturn);
        System.out.println(result6);

        long startTime1 = System.currentTimeMillis();
        //int[][] result7 = Score_prediction_deep2_alt_ford.score_prediction_deep2_alt_ford(board, playerturn);
        //System.out.println("Best Score: " + result7[1][0]);
        //System.out.println("Best Move: (" + result7[0][0] + ", " + result7[0][1] + ")");
        long endTime1 = System.currentTimeMillis();
        long elapsedTime1 = endTime1 - startTime1;
        System.out.println("Elapsed Time in milliseconds: " + elapsedTime1);


        int[] pointset =  Findwinpoint.findwinpoint(board, playerturn);
        System.out.println(pointset[0]);
        System.out.println(pointset[1]);

    }
}
